﻿
var _hmt = _hmt || [];
(function() {
    var hm = document.createElement("script");
    hm.src = "//hm.baidu.com/hm.js?7beba5fd47746c26352698ff8362276b";
    var s = document.getElementsByTagName("script")[0]; 
    s.parentNode.insertBefore(hm, s);
})();

// (function () {
//   var hm = document.createElement("script");
//   hm.src = "//hm.baidu.com/hm.js?b82fffa027f27ffaccb17cd2ccb6ba94";
//   var s = document.getElementsByTagName("script")[0];
//   s.parentNode.insertBefore(hm, s);
// })();

(function (i, s, o, g, r, a, m) {
  i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
    (i[r].q = i[r].q || []).push(arguments)
  }, i[r].l = 1 * new Date(); a = s.createElement(o),
  m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-61067690-1', 'auto');
ga('send', 'pageview');

var _mvq = _mvq || [];
_mvq.push(['$setAccount', 'm-28016-0']);

//_mvq.push(['$setGeneral', '', '', /*用户名*/'', /*用户id*/'']); //如果不传用户名、用户id，此句可以删掉
_mvq.push(['$logConversion']);
(function () {
  var mvl = document.createElement('script');
  mvl.type = 'text/javascript'; mvl.async = true;
  mvl.src = ('https:' == document.location.protocol ? 'https://static-ssl.mediav.com/mvl.js' : 'http://static.mediav.com/mvl.js');
  var s = document.getElementsByTagName('script')[0];
  s.parentNode.insertBefore(mvl, s);
})();

_mvq.push(['$setAccount', 'm-180581-0']);

_mvq.push(['$logConversion']);
(function() {
var mvl = document.createElement('script');
mvl.type = 'text/javascript'; mvl.async = true;
mvl.src = ('https:' == document.location.protocol ? 'https://static-ssl.mediav.com/mvl.js' : 'http://static.mediav.com/mvl.js');
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(mvl, s);
})();

var _hmt = _hmt || [];
(function () {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?6ce172f5d90e0ce4cd8aa027a6ece08e";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})(); 

// (function () {
//     var hm = document.createElement("script");
//     hm.src = "//hm.baidu.com/hm.js?0d5aed8c7d2caf92e7ecc93e1d082610";
//     var s = document.getElementsByTagName("script")[0];
//     s.parentNode.insertBefore(hm, s);
// })();

(function () {
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = '//zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = '//push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
    //var bp = document.createElement('script');
    //bp.src = '//push.zhanzhang.baidu.com/push.js';
    //var s = document.getElementsByTagName("script")[0];
    //s.parentNode.insertBefore(bp, s);
})();
